#pragma once

/**
SVActor represents a player connected to the server. This class takes care of network
communication with the client and also controls players entity (by interpreting player
commands received from the network. 
*/
class SVActor{
public:
	///constructs a new actor that is using connection of 'peer'
	SVActor(ENetPeer *peer);

	///decodes a packet received from peer
	void	decodeNetworkPacket(const ByteBuffer &data);
private:
	
};
